/*
Copyright [2020] [https://www.xiaonuo.vip]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Snowy采用APACHE LICENSE 2.0开源协议，您在使用过程中，需要注意以下几点：

1.请不要删除和修改根目录下的LICENSE文件。
2.请不要删除和修改Snowy源码头部的版权声明。
3.请保留源码和相关描述文件的项目出处，作者声明等。
4.分发源码时候，请注明软件出处 https://gitee.com/xiaonuobase/snowy
5.在修改包名，模块名称，项目代码等时，请注明软件出处 https://gitee.com/xiaonuobase/snowy
6.若您的项目无法满足以上几点，可申请商业授权，获取Snowy商业授权许可，请在官网购买授权，地址为 https://www.xiaonuo.vip
 */
package vip.xiaonuo.modular.manage.poidata.entity;

import com.baomidou.mybatisplus.annotation.*;
import vip.xiaonuo.core.pojo.base.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.*;
import cn.afterturn.easypoi.excel.annotation.Excel;
import java.math.BigDecimal;

/**
 * POI数据
 *
 * @author cy
 * @date 2022-07-28 19:28:29
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("poi_data")
public class PoiData extends BaseEntity {

    /**
     * 主键ID
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 门店名称
     */
    @Excel(name = "门店名称")
    private String name;

    /**
     * 地区名称
     */
    @Excel(name = "地区名称")
    private String countryName;

    /**
     * 门店地址
     */
    @Excel(name = "门店地址")
    private String address;

    /**
     * 省会
     */
    @Excel(name = "省会")
    private String provName;

    /**
     * 城市
     */
    @Excel(name = "城市")
    private String cityName;

    /**
     * 门店电话
     */
    @Excel(name = "门店电话")
    private String telephone;

    /**
     * 百度门店名id
     */
    @Excel(name = "百度门店名id")
    private String uid;

    /**
     * 标签(类型标识)
     */
    @Excel(name = "标签(类型标识)")
    private String tag;

    /**
     *
     */
    @Excel(name = "")
    private String subTag;

    /**
     * 所属分类，如’hotel’、’cater’
     */
    @Excel(name = "所属分类，如’hotel’、’cater’")
    private String type;

    /**
     * 总体评分
     */
    @Excel(name = "总体评分")
    private BigDecimal overallRating;

    /**
     * 评论数
     */
    @Excel(name = "评论数")
    private Integer commentNum;

    /**
     * 纬度
     */
    @Excel(name = "纬度")
    private BigDecimal lat;

    /**
     * 经度
     */
    @Excel(name = "经度")
    private BigDecimal lng;

    /**
     * 街景图id
     */
    @Excel(name = "街景图id")
    private String streetId;

    /**
     * 是否有详情：1有，0没有
     */
    @Excel(name = "是否有详情：1有，0没有")
    private Integer detail;

    /**
     * poi的详情页
     */
    @Excel(name = "poi的详情页")
    private String detailUrl;

    /**
     * poi商户的价格
     */
    @Excel(name = "poi商户的价格")
    private BigDecimal price;

    /**
     * 团购数
     */
    @Excel(name = "团购数")
    private Integer grouponNum;

    /**
     * 页码
     */
    @Excel(name = "页码")
    private Integer page;

    /**
     * 是否有效 0-无效  1-有效
     */
    @Excel(name = "是否有效 0-无效  1-有效")
    private Integer isEnabled;

    /**
     * 认领次数
     */
    @Excel(name = "认领次数")
    private Integer receiveNum;

    /**
     * 网格
     */
    @Excel(name = "网格")
    private String grid;

    /**
     * 创建人
     */
    @Excel(name = "创建人")
    private Integer createUserId;

    /**
     * 创建时间
     */
    @Excel(name = "创建时间", databaseFormat = "yyyy-MM-dd HH:mm:ss", format = "yyyy-MM-dd", width = 20)
    private Date createDate;

    /**
     * 更新人
     */
    @Excel(name = "更新人")
    private Integer modifyUserId;

    /**
     * 更新时间
     */
    @Excel(name = "更新时间", databaseFormat = "yyyy-MM-dd HH:mm:ss", format = "yyyy-MM-dd", width = 20)
    private Date modifyDate;

    /**
     *
     */
    @Excel(name = "")
    private String downLocation;

    /**
     *
     */
    @Excel(name = "")
    private String upLocation;

}
